<extJS:page name="customer" xmlns:extJS="jelly:org.richa.tags.extjs.ExtJSTagLibrary">
    <html>
    <head>
		<extJS:script/>
		<extJS:style theme="ytheme-gray"/>
		<style>
			.x-tabs-body {height:300px;overflow:auto;}	
			.x-tabs-item-body {padding:10px;}
		</style>
	</head>
	<body>
		<extJS:listener name="tablistener">
			<extJS:tabpanel name="customerTabs" resizeTabs="true" minTabWidth="20" preferredTabWidth="150" style="width:800px;height:300px;">
				<extJS:tabpanelitem name="personal" text="Pesonal" active="true">
					<extJS:formwrapper width="550px" title="Customer Information">
						<extJS:form name="customer" labelWidth="100" buttonAlign="left">
							<extJS:textfield name="name" fieldLabel="Name" width="170"/>
							<extJS:numberfield name="age" fieldLabel="Age" width="45"/>
							<extJS:datefield name="dob" fieldLabel="Date Of Birth" width="100"/>							
							<extJS:formbutton name="hideTab" text="HideTab" serverClick="hideTab"/>
							<extJS:formbutton name="showTab" text="ShowTab" serverClick="showTab"/>						
							<extJS:formbutton name="disableTab" text="DisableTab" serverClick="disableTab"/>	
							<extJS:formbutton name="enableTab" text="EnableTab" serverClick="enableTab"/>						
							<extJS:formbutton name="activateTab" text="ActivateTab" serverClick="activateTab"/>																							
						</extJS:form>
					</extJS:formwrapper>
				</extJS:tabpanelitem>
				<extJS:tabpanelitem name="address" text="Address">
					<extJS:form name="customer1" labelWidth="100" buttonAlign="left">
						<extJS:fieldset name="legaddr" legend="Address">
							<extJS:textfield name="addr1" fieldLabel="Address 1" width="170"/>
							<extJS:textfield name="addr2" width="170" fieldLabel="Address2"/>
							<extJS:textfield name="city"  fieldLabel = "City" width="170"/>
							<extJS:numberfield name="zip" fieldLabel="Zip" width="55" maxLength="5"/>
							<extJS:textarea name="comment" fieldLabel="Comments" width="170"/>
						</extJS:fieldset>
					</extJS:form>
				</extJS:tabpanelitem>
				<extJS:tabpanelitem name="content" text="Content">
					<div id="content">      	        
		            	<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.</p>
			            <p>Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.</p>
			            <p>Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.</p>
	        	    </div>
				</extJS:tabpanelitem>
			</extJS:tabpanel>
	</extJS:listener>			
	</body>
	</html>
</extJS:page>